import $http from '../../../servers/http';
import { Result } from 'seats/schema/Result';
import { GetCallRecordParams, TaskCallRecordInfo } from 'seats/schema/Task';

/**获取任务通话记录列表信息 */
export const getCallRecordList = (
  data: GetCallRecordParams
): Promise<Result<TaskCallRecordInfo[]>> => {
  return $http.get({
    url: '/seats/callrecords',
    data,
  });
};
